﻿using System;

namespace TupleStudy
{
    class Program
    {
        static void Main(string[] args)
        {
            TestTupleName();
        }

        static void TestTuple1()
        {
            var bob = ("Bob", 23, "Manager");
            Console.WriteLine(bob.Item1);
            Console.WriteLine(bob.Item2);
            Console.WriteLine(bob.Item3);
        }


        static void TestTupleName()
        {
            var person = GetPerson();
            Console.WriteLine(person.name);
            Console.WriteLine(person.age);
        }

        static (string name, int age) GetPerson() => (name:"joey",age:35);
    }
}
